home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-02-21 | 381 b | 23 lines | [TEXT/RLAB] |
- zeros:
-
- Syntax: zeros ( nrow, ncol )
- zeros ( A )
-
- Description:
-
- Zeros returns a matrix with all zero elements. If the
- arguments are two scalars, then zeros returns a matrix with
- dimensions S1xS2.
-
- If the argument is a MATRIX, then zeros returns a matrix with
- dimensions m[1] by m[2].
-
- Examples:
-
- > zeros( 3 , 3 )
-
- > A = rand(10,4);
- > B = zeros( size(A) )
-
- See Also: size
-